
use Test::More qw(no_plan);

use autobox;
use autobox::REST;

my $response = "http://example.com/rest_api/"->post("foo=>1&bar=>hoo");  # Create
$response = "http://www.example.com/rest_api/"->get();                   # Read
$response = "http://www.example.com/rest_api/"->put("foo=>99");          # Update
$response = "http://www.example.com/rest_api/"->delete();                # Delete

is(ref $response,'HTTP::Response');


